package com.dmz.workflow.service;

import com.dmz.workflow.base.BaseService;
import com.dmz.workflow.vo.DiscussionVo;
import com.dmz.workflow.entity.Discussion;

import java.util.List;

public interface WorkflowDiscussionService extends BaseService<Discussion> {

    List<Discussion> selectDiscussionByProcessInstanceId(String processInstanceId);
    /**
     * 添加评论
     */
    void saveDiscussion(DiscussionVo discussionVO);

    /**
     * 更新退回节点的评论信息
     */
    void updateBackDiscussion(String processInstanceId, String srcNodeId,String tarNodeId);
}
